#include <stdio.h>
#include <math.h>
 int main () {
 
 	double c;
 	scanf ("%lf",&c);
 	double f = (c*9/5) + 32 ;
 	printf ("%.2f", f); 
 
 
 }